package com.ruoyi.manage.service;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.manage.domain.Order;
import com.ruoyi.manage.domain.request.OrderRequest;

import java.util.List;

/**
 * @Author: wwy
 * @Date: 2021/1/7 8:52
 */
public interface IAppOrderService {
    /**
     * 获取当前用户的订单信息
     * @param orderRequest
     * @param openId
     * @return
     */
    List<Order> getOrder(OrderRequest orderRequest, String openId);

    /**
     * 添加
     * @param order
     * @param openId
     * @return
     */
    AjaxResult addOrder(Order order,String openId);

    /**
     * 获取工单信息
     * @param orderRequest
     * @return
     */
    AjaxResult getOrder(OrderRequest orderRequest);

    /**
     * 获取图片最低次数
     * @param jurisdictionId
     * @return
     */
    AjaxResult getImageCount(Long jurisdictionId);
}
